package com.sl.au.service;

import com.sl.au.entity.EventToEvaluateUser;
import com.sl.au.repository.EventToEvaluateUserRepository;

import java.util.Date;
import java.util.List;

import org.springframework.data.domain.Sort.Direction;

public interface EventToEvaluateUserService extends BaseService {
	
	EventToEvaluateUserRepository getRepository();

	List<EventToEvaluateUser> getPageByDate(int start, int length, String uId, String key, Date begin, Date end, String dataType, String dataId,String orderName, Direction dir);

	int getCountByDate(String uId, String key, Date begin, Date end, String dataType, String dataId);
	
	double getUserScoreByDate(String userId, Date begin, Date end);
	
	double getUserMarkScoreByDate(String userId, Date begin, Date end);

}
